﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Gift.Model
{
    [Serializable]
    public class PageList
    {
        // Fields
        private int doCount;
        private string fldName;
        private int orderType;
        private int pageIndex;
        private int pageSize;
        private string strGetFields;
        private string strWhere;
        private string tblName;

        // Properties
        public int DoCount
        {
            get
            {
                return this.doCount;
            }
            set
            {
                this.doCount = value;
            }
        }

        public string FldName
        {
            get
            {
                return this.fldName;
            }
            set
            {
                this.fldName = value;
            }
        }

        public int OrderType
        {
            get
            {
                return this.orderType;
            }
            set
            {
                this.orderType = value;
            }
        }

        public int PageIndex
        {
            get
            {
                return this.pageIndex;
            }
            set
            {
                this.pageIndex = value;
            }
        }

        public int PageSize
        {
            get
            {
                return this.pageSize;
            }
            set
            {
                this.pageSize = value;
            }
        }

        public string StrGetFields
        {
            get
            {
                return this.strGetFields;
            }
            set
            {
                this.strGetFields = value;
            }
        }

        public string StrWhere
        {
            get
            {
                return this.strWhere;
            }
            set
            {
                this.strWhere = value;
            }
        }

        public string TblName
        {
            get
            {
                return this.tblName;
            }
            set
            {
                this.tblName = value;
            }
        }
    }


}
